package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.BellettiniProductMapper;
import com.atmilan.quartz.model.entity.bellettini.BellettiniProduct;
import com.atmilan.quartz.service.IBellettiniProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BellettiniProductServiceImpl extends ServiceImpl<BellettiniProductMapper, BellettiniProduct> implements IBellettiniProductService {
    @Autowired
    BellettiniProductMapper bellettiniProductMapper;

    @Override
    public void deleteAll() {
        bellettiniProductMapper.deleteAll();
    }

    @Override
    public void copyAll() {
        bellettiniProductMapper.deleteProductBack();
        bellettiniProductMapper.copyProductBack();
    }
    
}
